.class public Lcom/xingbook/xingbook/c/a;
.super Ljava/lang/Object;


# static fields
.field public static a:Ljava/util/ArrayList;

.field private static b:Z

.field private static c:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-boolean v0, Lcom/xingbook/xingbook/c/a;->b:Z

    const/4 v0, 0x1

    sput-boolean v0, Lcom/xingbook/xingbook/c/a;->c:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    sput-object v0, Lcom/xingbook/xingbook/c/a;->a:Ljava/util/ArrayList;

    return-void
.end method

.method public static a()V
    .locals 1

    sget-object v0, Lcom/xingbook/xingbook/c/a;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    const/4 v0, 0x0

    sput-boolean v0, Lcom/xingbook/xingbook/c/a;->b:Z

    const/4 v0, 0x1

    sput-boolean v0, Lcom/xingbook/xingbook/c/a;->c:Z

    return-void
.end method

.method public static declared-synchronized a(Ljava/lang/String;)Z
    .locals 2

    const-class v1, Lcom/xingbook/xingbook/c/a;

    monitor-enter v1

    :try_start_0
    sget-object v0, Lcom/xingbook/xingbook/c/a;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v0

    monitor-exit v1

    return v0

    :catchall_0
    move-exception v0

    monitor-exit v1

    throw v0
.end method

.method public static declared-synchronized b(Ljava/lang/String;)V
    .locals 2

    const-class v1, Lcom/xingbook/xingbook/c/a;

    monitor-enter v1

    :try_start_0
    sget-object v0, Lcom/xingbook/xingbook/c/a;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/xingbook/xingbook/c/a;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    monitor-exit v1

    return-void

    :catchall_0
    move-exception v0

    monitor-exit v1

    throw v0
.end method

.method public static b()Z
    .locals 3

    const/4 v2, 0x1

    sget-boolean v0, Lcom/xingbook/xingbook/c/a;->c:Z

    if-nez v0, :cond_0

    sget-boolean v0, Lcom/xingbook/xingbook/c/a;->b:Z

    if-nez v0, :cond_1

    :cond_0
    invoke-static {}, Lcom/xingbook/park/f/s;->a()Lcom/xingbook/park/f/s;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/f/s;->e()Lcom/xingbook/park/e/c;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/e/a;->a(Lcom/xingbook/park/e/c;)I

    move-result v0

    if-ne v0, v2, :cond_2

    sput-boolean v2, Lcom/xingbook/xingbook/c/a;->b:Z

    const/4 v0, 0x0

    sput-boolean v0, Lcom/xingbook/xingbook/c/a;->c:Z

    :cond_1
    :goto_0
    sget-boolean v0, Lcom/xingbook/xingbook/c/a;->b:Z

    return v0

    :cond_2
    const/4 v1, 0x3

    if-ne v0, v1, :cond_1

    sput-boolean v2, Lcom/xingbook/xingbook/c/a;->b:Z

    goto :goto_0
.end method
